package com.itheima.service;

import com.itheima.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentService {


    /*查找所有*/
    public List<Student> findAll();

    /*根据id查找*/
    public Student findById(Integer id);

    /*根据id删除*/
    public Integer deleteById(Integer id);

    /*添加信息*/
    public Integer add(Student student);

    /*更新学生信息*/
    public Integer update(Student student);

}
